package com.taoym.voucher.xcx.service;

import org.springframework.web.multipart.MultipartFile;

/**
 * @author: taoym
 * @date: 2020/11/16 9:35
 * @desc: 文件服务
 */
public interface FilesService {
    /**
     * @author: taoym
     * @date: 2020/11/16 9:35
     * @desc: 上传文件
     */
    String upload(MultipartFile files);

    /**
     * @author: taoym
     * @date: 2020/11/16 9:35
     * @desc: 删除文件
     */
    String delete(String url);
}
